package com.usefullc.user.param;

import com.usefullc.common.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Sampson
 * @date: 2022-02-14 16:06
 */
@ApiModel("用户登录参数")
@Data
public class UserAdminLoginParam  extends BaseDomain {

    @NotBlank(message="账号不能为空")
    @ApiModelProperty(notes = "账号",example = "admin",required = true)
    private String accountNo;

    @NotBlank(message="密码不能为空")
    @ApiModelProperty(notes = "密码",example = "123456",required = true)
    private String pwd;

    @NotBlank(message="图形验证码不能为空")
    @ApiModelProperty(notes = "图形验证码",example = "1234",required = true)
    private String imgCode;

}
